package com.hpdz.hotel_back.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hpdz.hotel_back.entity.Customer;
import com.hpdz.hotel_back.entity.Order;

import javax.servlet.http.HttpSession;


public interface CustomerService extends IService<Customer> {
    Customer login(Customer customer);

    IPage<Order> selectByPage(Integer current, Integer size, HttpSession session);
}
